﻿@model DHQGHN.PM2.Models.EnumeratorModel

<script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>

@using (Html.BeginForm("EditAdminTinh", "Enumerator", FormMethod.Post, new { id = "EditAdminTinh" }))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    @Html.HiddenFor(m => m.ENUMERATOR_ID)
    <div class="row" style="margin-top: 2px; margin-bottom: 10px; text-align: center; ">
        <span style="font-size: 20px;">Sửa thông tin Quản Trị Viên cấp Tỉnh/TP</span>
    </div>
    <div class="row">
        <div class="col-md-12">
            <fieldset>
                <div>
                    <div class="row" style="margin-top:5px;">
                        <div class="col-md-4">
                            @Html.Label("Nhóm", new { @class = "text-center" }) <font size="3" color="red" style="visibility:hidden;">*</font>
                        </div>
                        <div class="col-md-8">
                            @Html.TextBox("GROUP", "Quản trị cấp Thành Phố - Tỉnh", new { @class = "form-control", style = " ", @readOnly = true })
                            @Html.HiddenFor(model => model.GROUPCODE, new { @Value = "AT", @id = "GroupCode" })
                        </div>
                    </div>
                    <div class="row" style="margin-top:5px;">
                        <div class="col-md-4">
                            @Html.Label("Cấp Tỉnh", new { @class = "text-center" }) <font size="3" color="red">*</font>
                        </div>
                        <div class="col-md-8">
                            @Html.DropDownListFor(model => model.ADM_CODE, ViewBag.ListTinhSelected as List<SelectListItem>, new {@id="Level1t", @class = "form-control  form-control-add ", style = "" })
                            <span style="color: red;">@Html.ValidationMessageFor(model => model.ADM_CODE)</span>
                        </div>
                    </div>
                    <div class="row" style="margin-top:5px;">
                        <div class="col-md-4">
                            @Html.Label("Họ tên", new { @class = "text-center" }) <font size="3" color="red">*</font>
                        </div>
                        <div class="col-md-8">

                            @Html.TextBoxFor(model => model.FULL_NAME, "", new { @class = "form-control", style = "", placeholder = "nhập họ tên" })
                            <span style="color: red;">@Html.ValidationMessageFor(model => model.FULL_NAME)</span>
                        </div>
                    </div>
                    <div class="row" style="margin-top:5px;">
                        <div class="col-md-4">
                            @Html.Label("Tên đăng nhập", new { @class = "text-center" }) <font size="3" color="red">*</font>
                        </div>
                        <div class="col-md-8">
                            @Html.TextBox("USERNAM", Model.USERNAME, new { @class = "form-control", style = "", placeholder = "tên đăng nhập", @readOnly = true })
                            @Html.HiddenFor(m => m.USERNAME)
                        </div>
                    </div>
                    <div class="row" style="margin-top:5px;">
                        <div class="col-md-4">
                            @Html.LabelFor(m => m.EMAIL, new { @class = "text-center" })<font size="3" color="red">*</font>
                        </div>
                        <div class="col-md-8">
                            @Html.TextBoxFor(m => m.EMAIL, new { @class = "form-control form-control-add", style = "", placeholder = "Email của tài khoản", @readOnly = true })
                        </div>
                    </div>
                    <div class="row" style="margin-top:5px;">
                        <div class="col-md-4">
                            @Html.Label("Mô tả", new { @class = "text-center" }) <font size="3" color="red" style="visibility:hidden;">*</font>
                        </div>
                        <div class="col-md-8">
                            @Html.TextAreaFor(m => m.DESCRIPTIONS, new { @class = "form-control", style = "", @rows = 3 })
                        </div>
                    </div>
                </div>
            </fieldset>
        </div>
    </div>
}
